package com.woniu.service;

import com.woniu.dto.HisConsumptionDto;
import com.woniu.dto.PageDTO;
import com.woniu.model.HisConsumption;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.param.HisConsumptionAddParam;
import com.woniu.param.HisConsumptionParam;
import com.woniu.util.Result;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-11
 */
@Service
public interface IHisConsumptionService extends IService<HisConsumption> {
    public Result<PageDTO<HisConsumptionDto>> getHisConsumptionBy(HisConsumptionParam hisConsumptionParam);
    public Result<Boolean> deletegetHisConsumptionById(ArrayList<Integer> id);
    public Result<HisConsumptionDto> updateHisConsumption(HisConsumptionParam hisConsumptionParam);
    public Result<HisConsumptionDto> addHisConsumption(HisConsumptionAddParam hisConsumptionAddParam);

}
